#include "StompedReality/Core/Component.h"
#include "StompedReality/Core/IGame.h"
#include <assert.h>
StompedReality::Core::Component::Component ( ) :
  StompedReality::Core::MessageHandler( ),
  StompedReality::GameAccess( )
{
  assert ( this->m_Game == 0 );
}

StompedReality::Core::Component::~Component( )
{
}

void StompedReality::Core::Component::OnCreation( )
{
  assert ( this->m_Game != 0 );
  this->m_Id = 0;
  this->m_Type = 0;
}

const StompedReality::ID StompedReality::Core::Component::GetID( )
{
  return this->m_Id;
}

void StompedReality::Core::Component::SetID ( const ID id )
{
  this->m_Id = id;
}

const StompedReality::TYPE_ID StompedReality::Core::Component::GetType ( )
{
  return this->m_Type;
}

void StompedReality::Core::Component::SetType ( const TYPE_ID type )
{
  this->m_Type = type;
}

bool StompedReality::Core::Component::ProcessMessage ( StompedReality::Core::Message* msg )
{
  return true;
}

